package designs.models.strategy;

public class StrategyTwo implements ComputableStrategy {

	@Override
	public double computeScore(double[] a) {
		double score = 0,multi = 1;
		for (int i = 0; i < a.length; i++) {
			multi = multi * a[i];
		}
		score = Math.pow(multi, 1.0/a.length);
		return score;
	}

}
